package com.prj.ufdm.cloud.feign.bpo;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.prj.ufdm.cloud.feign.config.FeignConfiguration;
import com.prj.ufdm.cloud.feign.fallback.FirstDemoFallback;
import com.prj.ufdm.cloud.feign.model.FirstDemo;

/**
  * 调用MS-TEST服务
 * @author Administrator
 *
 */
@FeignClient(name="MS-TEST",fallbackFactory = FirstDemoFallback.class,configuration = FeignConfiguration.class) 
public interface FirstDemoBPO {
	
	@RequestMapping(method = RequestMethod.GET, value = "/api/test/first/demo")
	FirstDemo getFirstDemoTest();

}